# -*- coding: utf-8 -*-
# @Time    : 2025/4/21 1:54
# @Author  : yxb
# @Email   : 18282090563@163.com
# @File    : class_page.py
# @Software: PyCharm
import unittest
from pages.base_page import BasePage
from appium.webdriver.common.appiumby import AppiumBy


class ClassPage(BasePage):

    click_class_locator = (AppiumBy.XPATH,'(//android.widget.LinearLayout[@resource-id="com.xiachufang:id/icon"])[2]/android.widget.ImageView')

    def click_class(self):

        self.find_element(self.click_class_locator).click()












